package com.framwork.core.api.addressbook.dept.result;

import com.framwork.core.base.AbstractAPIResult;

import java.util.List;

/**
 * @author ：james.liu
 * @date ：Created in 2022/3/8 15:04
 * @description：
 * @version: 1.0
 */
public class OpenApisContactV3DepartmentsDepartmentIdChildrenResult extends AbstractAPIResult {

    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public class Data {
        private boolean has_more;
        private String page_token;
        private List<Items> items;

        public void setHas_more(boolean has_more) {
            this.has_more = has_more;
        }

        public boolean getHas_more() {
            return has_more;
        }

        public void setPage_token(String page_token) {
            this.page_token = page_token;
        }

        public String getPage_token() {
            return page_token;
        }

        public void setItems(List<Items> items) {
            this.items = items;
        }

        public List<Items> getItems() {
            return items;
        }
    }

    /**
     * Auto-generated: 2022-03-08 15:4:3
     *
     * @author json.cn (i@json.cn)
     * @website http://www.json.cn/java2pojo/
     */
    public class Items {

        private String name;
        private I18n_name i18n_name;
        private String parent_department_id;
        private String department_id;
        private String open_department_id;
        private String leader_user_id;
        private String chat_id;
        private String order;
        private List<String> unit_ids;
        private int member_count;
        private Status status;
        private boolean create_group_chat;

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public void setI18n_name(I18n_name i18n_name) {
            this.i18n_name = i18n_name;
        }

        public I18n_name getI18n_name() {
            return i18n_name;
        }

        public void setParent_department_id(String parent_department_id) {
            this.parent_department_id = parent_department_id;
        }

        public String getParent_department_id() {
            return parent_department_id;
        }

        public void setDepartment_id(String department_id) {
            this.department_id = department_id;
        }

        public String getDepartment_id() {
            return department_id;
        }

        public void setOpen_department_id(String open_department_id) {
            this.open_department_id = open_department_id;
        }

        public String getOpen_department_id() {
            return open_department_id;
        }

        public void setLeader_user_id(String leader_user_id) {
            this.leader_user_id = leader_user_id;
        }

        public String getLeader_user_id() {
            return leader_user_id;
        }

        public void setChat_id(String chat_id) {
            this.chat_id = chat_id;
        }

        public String getChat_id() {
            return chat_id;
        }

        public void setOrder(String order) {
            this.order = order;
        }

        public String getOrder() {
            return order;
        }

        public void setUnit_ids(List<String> unit_ids) {
            this.unit_ids = unit_ids;
        }

        public List<String> getUnit_ids() {
            return unit_ids;
        }

        public void setMember_count(int member_count) {
            this.member_count = member_count;
        }

        public int getMember_count() {
            return member_count;
        }

        public void setStatus(Status status) {
            this.status = status;
        }

        public Status getStatus() {
            return status;
        }

        public void setCreate_group_chat(boolean create_group_chat) {
            this.create_group_chat = create_group_chat;
        }

        public boolean getCreate_group_chat() {
            return create_group_chat;
        }
    }


    public class Status {

        private boolean is_deleted;

        public void setIs_deleted(boolean is_deleted) {
            this.is_deleted = is_deleted;
        }

        public boolean getIs_deleted() {
            return is_deleted;
        }

    }

    /**
     * Auto-generated: 2022-03-08 15:4:3
     *
     * @author json.cn (i@json.cn)
     * @website http://www.json.cn/java2pojo/
     */
    public class I18n_name {

        private String zh_cn;
        private String ja_jp;
        private String en_us;

        public void setZh_cn(String zh_cn) {
            this.zh_cn = zh_cn;
        }

        public String getZh_cn() {
            return zh_cn;
        }

        public void setJa_jp(String ja_jp) {
            this.ja_jp = ja_jp;
        }

        public String getJa_jp() {
            return ja_jp;
        }

        public void setEn_us(String en_us) {
            this.en_us = en_us;
        }

        public String getEn_us() {
            return en_us;
        }

    }


}
